<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserProfileList.ascx.cs" Inherits="Admin_Controls_UserProfileList" %>

    <asp:GridView ID="UserList" runat="server" DataKeyNames="UserName"  AutoGenerateColumns="false" >
    <Columns>
    <asp:HyperLinkField   Text="edit" DataNavigateUrlFormatString="../UserProfile.aspx?UserName={0}" DataNavigateUrlFields="UserName"   />
    <asp:BoundField HeaderText="User Name" DataField="UserName" />
     <asp:BoundField HeaderText="Email Address" DataField="Email" />
    <asp:BoundField HeaderText="Created" DataField="CreationDate"  DataFormatString="{0:MM/dd/yy h:mm tt}" />
    <asp:BoundField HeaderText="Last Activity" DataField="LastActivityDate"  DataFormatString="{0:MM/dd/yy h:mm tt}" />
    </Columns>
    </asp:GridView>